//
//  BOLL.h
//  AppFinance
//
//  Created by wei on 12-7-15.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface AFBOLL : NSObject
{
    NSArray *kLineArray;
    
    NSMutableArray *_averageArray;
    NSMutableArray *_upArray;
    NSMutableArray *_downArray;
}

-(void) initKlineArray:(NSArray *)_kLineArray;
-(void) bollData:(int) day drawCount:(int)_drawCount;

-(NSMutableArray *) kaverageArray;
-(NSMutableArray *) kupArray;
-(NSMutableArray *) kdownArray;

+(float) kpiMaxBoll;
+(float) kpiMinBoll;

+(float) kpiLastAverage;
+(float) kpiLastUp;
+(float) kpiLastDown;

+(AFBOLL*) app;
@end
